﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Tracker.Data.EFDAL.Entity;
using Log = Tracker.Data.EFDAL.Entity.Log;

namespace Tracker.Helper.Mapper
{
    using AutoMapper;

    public class StatusDomainProfile: Profile
    {
        public override string ProfileName
        {
            get { return this.GetType().Name; }

        }
        protected override void Configure()
        {
            Mapper.CreateMap<StatusDomain, Tracker.Data.DataTransfer.StatusDomain>();
                //.ForMember(d=>d.Status_LogLogList, m=>m.Ignore())
                //.ForMember(d => d.Status_taskTaskList, m => m.Ignore());
            
            //Mapper.CreateMap<EFDAL.Entity.Task, DataTransfer.Task>();
            //Mapper.CreateMap<EFDAL.Entity.Log, DataTransfer.Log>();
            //Mapper.CreateMap<ICollection<EFDAL.Entity.Task>, ICollection<DataTransfer.Task>>();
            //Mapper.CreateMap<ICollection<EFDAL.Entity.Log>, ICollection<DataTransfer.Log>>();


        }
    }
}

